> * Property: `preProcessors.output`
> * Type: `HfOutputPreProcessor`
> * Usage:

```tsx
const outputPreProcessor: HfOutputPreProcessor = (output: string) => {
    // Pre-process the LLM output
    return outputReadyToSend;
};

const adapter = useChatAdapter({
    preProcessors: {
        output: outputPreProcessor
    }
});
```

`NLUX` provides a default output pre-processor that can be used with LLAMA2 model on Hugging Face:

```tsx
import {llama2OutputPreProcessor} from '@nlux/hf-react';

const adapter = useChatAdapter({
    preProcessors: {
        output: llama2OutputPreProcessor
    }
});
```
